@extends('back.index')
@section('title','新增角色-后台管理系统')

@section('mian')
    <div style="font-size:14px;padding:20px;" class="modal-content">
        <h2 class="sub-header power_mian">分配权限</h2>
        <div class="container ">
            <div class="row">
                <div class="col-md-8">
                    <form class="form-horizontal" action="" method="post">
                        <table class="table table-bordered">
                            <tr>
                                <td style="width: 200px;text-align:right;"><b>分配权限:</b></td>
                                <td>
                                    {{csrf_field()}}
                                    @foreach($perm as $k)
                                        <label>{{$k->display_name}}:<input type="checkbox" name="permission_id[]" value="{{$k->id}}">&nbsp;</label>
                                        @endforeach
                                </td>
                            </tr>
                            <tr>
                                <td>
                                </td>
                                <td>
                                    <input type="submit" value="提交">
                                </td>
                            </tr>

                        </table>
                    </form>
                </div>
            </div>
        </div>
    </div>
@endsection